package com.woniushop.entity;

public class User {

	private Integer uid;// 用户id
	private String uaccount;// 用户账号;唯一
	private String uname;// 用户昵称
	private String upsw;// 用户密码
	private Integer urole;// 用户角色;1：超级管理员；2：普通管理员；3：商城用户
	private Integer ustate;// 用户状态;1：正常；2：禁用
	private Integer ucartid;// 购物车订单id

	public Integer getUid() {
		return uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public String getUaccount() {
		return uaccount;
	}

	public void setUaccount(String uaccount) {
		this.uaccount = uaccount;
	}

	public String getUname() {
		return uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	public String getUpsw() {
		return upsw;
	}

	public void setUpsw(String upsw) {
		this.upsw = upsw;
	}

	public Integer getUrole() {
		return urole;
	}

	public void setUrole(Integer urole) {
		this.urole = urole;
	}

	public Integer getUstate() {
		return ustate;
	}

	public void setUstate(Integer ustate) {
		this.ustate = ustate;
	}

	public Integer getUcartid() {
		return ucartid;
	}

	public void setUcartid(Integer ucartid) {
		this.ucartid = ucartid;
	}

	@Override
	public String toString() {
		return "User [uid=" + uid + ", uaccount=" + uaccount + ", uname=" + uname + ", upsw=" + upsw + ", urole="
				+ urole + ", ustate=" + ustate + ", ucartid=" + ucartid + "]";
	}

}
